#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_matrix_calculator.h"
#include<qdialog.h>
#include"matrix.h"



class matrix_calculator : public QMainWindow
{
    Q_OBJECT

public:
    matrix_calculator(QWidget* parent = Q_NULLPTR);

private slots:
    void on_create_blank_matrix_clicked();
    void on_create_init_matrix_clicked();
    void on_create_eyes_matrix_clicked();
    void on_tableWidget_cellChanged(int currentRow, int currentColumn);
    void on_tableWidget_2_cellChanged(int currentRow, int currentColumn);
    void on_tabWidget_currentChanged(int index);
    void on_Double_form_clicked();
    void on_Fraction_form_clicked();
    void on_add_clicked();
    void on_subtract_clicked();
    void on_multiply_clicked();
    void on_transpose_clicked();
    void on_inv_clicked();
    void on_power_clicked();
    void on_get_det_clicked();
    void on_row_num_multiply_clicked();
    void on_swaprow_clicked();
    void on_plus_row_clicked();
    void on_get_rank_clicked();
    void on_row_simpliest_form_clicked();
    void on_standard_form_clicked();
    void on_get_roots_clicked();
private:
    Ui::matrix_calculatorClass ui;
    
    
    //QDialog *dlg;
};
